package com.gee.spring.cloud.feign.flow.binding.annotation;

import com.gee.spring.cloud.feign.flow.handler.DefaultWorkHandler;
import com.gee.spring.cloud.feign.flow.handler.WorkHandler;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * desc:
 *
 * @author gee
 * @since 2021-03-30 13:49:56
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@Documented
public @interface FeignFlows {

    FeignFlow[] feignFlows();

    Class<? extends WorkHandler> workHandlerClass() default DefaultWorkHandler.class;
}
